package com.kiven.ui

import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.Messages
import javax.swing.JPanel

/**
 * Created by oukobayashi on 2019/9/25.
 */
open class OptionDialog(
        project: Project,
        options:List<String>,
        val click: (index: Int) -> Unit
) : Messages.InputDialog(
        project,
        "请选择操作",
        "Make Dart bean Class Code",
        Messages.getInformationIcon(),
        "",
        null
) {
    init {
        setOKButtonText("Make")
    }

    override fun createMessagePanel(): JPanel {
        return super.createMessagePanel()
    }
}